home *** CD-ROM | disk | FTP | other *** search
- /* display JForth source file & word */
-
- OPTIONS results
-
- parse arg theString /* get the argument */
-
- rex = 0; result = "NOTSUPPORTED"
- textraversion
- parse var result maj min rex
- if (result == "NOTSUPPORTED") | (rex < 2) then do
- notify "Textra V1.12 or later required for this script."
- exit
- end
-
- theString = UPPER(theString)
-
- address 'JFORTH' '" 'theString'" ReturnFileName'
-
- if (result ~= "NOT FOUND") then do
- fname = result
- if (fname ~= "RESULT") then do
- openfile '"'fname'"'
- find theString
- end
- end
-